package com.lt.basic.project.pojo.validate.mino.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户授权表(basic_user_auth)更新对象
 * @author ：LT
 * @Created in : 2023-11-27
 */
@Data
@ApiModel(value="UserAuth更新对象", description = "用户授权表更新对象")
public class UserAuthUpdateValidate implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * 主键
     */
    @NotNull(message = "主键参数缺失")
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 用户ID
     */
    @NotNull(message = "用户ID参数缺失")
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * Openid
     */
    @NotNull(message = "Openid参数缺失")
    @ApiModelProperty(value = "Openid")
    private String openid;
    /**
     * Unionid
     */
    @NotNull(message = "Unionid参数缺失")
    @ApiModelProperty(value = "Unionid")
    private String unionid;
    /**
     * 客户端类型: [1=微信小程序, 2=微信公众号, 3=手机H5, 4=电脑PC, 5=苹果APP, 6=安卓APP]
     */
    @NotNull(message = "客户端类型: [1=微信小程序, 2=微信公众号, 3=手机H5, 4=电脑PC, 5=苹果APP, 6=安卓APP]参数缺失")
    @ApiModelProperty(value = "客户端类型: [1=微信小程序, 2=微信公众号, 3=手机H5, 4=电脑PC, 5=苹果APP, 6=安卓APP]")
    private Integer terminal;


}